 <!-- Table (TABLE) -->
 <div >
      <h3 class="tit">News Information</h3>
	  <div style="float:left; position:relative; margin-right:10px;">
	  
	  <div style="width:330px; height:230px; overflow:hidden;" id="banner"><?php 
	   foreach ($topnews->result_array() as $row)
		{
			?>
		<?php
			echo '<a href="'.base_url("index.php/news/detail/".$row["id"]).'"><img border="0" src="'.base_url($row["pic"]).'"/></a>';
			?>			
			
						
<?php 
	
		}
	  ?></div><div id="btn"></div></div>
	  <div  id="marquee" style="height:230px; overflow:hidden;">
	  
      <ul id="news_list">
<?php 
		$i = 0;
		if (isset($list))
		{
        foreach ($list->result_array() as $row)
		{
			?>
		 <li <?php if ($i%2 == 1)echo 'class="bg"';?>>
			<span><?php echo " ".date('Y-m-d',$row["add_date"]);?></span>
			<?php 
			echo '<a href="'.base_url("index.php/news/detail/".$row["id"]).'">'.($row["new_name"]==""?"no title":$row["new_name"])."</a>";
			?>			
			
			</li>
			
<?php 
	$i++;
		}
	}
?></ul>
</div>

		  
      
 </div>
      